package com.aixx.springcloud.Service;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;

/**
 * @author shkstart
 * @create 2021-01-29 10:39
 */
@Component
public class OrderFallbackService  implements  OrdermainService{

    @Override
    public String paymentInfo_OK(Integer id) {
        return "OrderFallbackService --发生异常";
    }

    @Override
    public String paymentInfo_Timeout(Integer id) {
        return "OrderFallbackService --发生异常--paymentInfo_Timeout";
    }
}
